mPasteBin.ini

[Loading] [To Use] [Command Line] [A Bug] [Unloading] [Change Log]
Author: SReject
Version: v2.1.3
Email: Froggiedafrog@aim.com
IRC: SReject @ UnderNet on #mircscripting, #mirc, #MSL

To load

After extracting the files of mPasteBin 2.1.3.zip, follow one of the two choices' directions:

To Use

Right click on any Status, Channel or Query window, or click the toolbar menu, then hover the mouse pointer Over mPasteBin.
The following options are:

Command line

The command line supports the following commands:

Required parameter's are wrapped with <>'s, Options parameters are wrapped with []'s

;This command checks for script updates, downloads and loads the update.
/mPasteBin:Update

;This command opens the mPasteBin Dialog. If [text] is specified, then that data will be ready to be posted.
/mPasteBin [text]

;This command opens the mPasteBin Dialog with the contents of clipboard ready to be posted.
/mPasteBin -c

;This command opens the mPasteBin Dialog with the contents of [window] ready to be posted. If no window is specified, the active window is used.
/mPasteBin -w [window]

;This command opens the mPasteBin Dialog with the contents of [window]'s listbox ready to be posted. If no window is specified, the active window is used.
/mPasteBin -wl [window]

;This command opens the mPasteBin Dialog with the contents of <pathtofile\file> ready to be posted.
/mPasteBin -f <pathtofile\file>

;This command opens the mPasteBin Dialog with the <text> ready to be posted.
/mPasteBin -t <text>

You can prefix the previous mPasteBin commands with a "." to bypass the dialog, and start the posting process using the last post's settings:
/.mPasteBin -c
/.mPasteBin -w [window]
/.mPasteBin -wl [window]
/.mPasteBin -f <pathtofile\file>
/.mPasteBin [-t] <text>

A Bug In mIRC

To allow for large amounts of text, I had to use a special property for the post editbox. Due to this, the post editbox does NOT have a right click menu. It is not the script's fault, but mIRC internally.

To Unload

If you have loaded mPasteBin.ini into your mIRC and wish to unload it, follow one of the two choices' directions:

Change Log


March 16, 2011, version - 2.1.3 - Bug Fixes
* Fixed /mPasteBin -wl not working.
* Fixed statusbox not updating when cancel button is clicked.
* Fixed infinate loop when clicking "no" at "Continue update" dialog
* Fixed "/mPasteBin: /Play ..." error
* Fixed "* /run" bug when updating.
* Fixed Paste From Window not working.
* Added Paste From Listbox to mPasteBin menu.
* Added Update checker to mPasteBin menu.
* Removed some unneeded code when unzipping downloaded file
* Unpiped all code.

March 14, 2011, version 2.1.2 - Added Features/Bug Fixes
* Added -wl switch to post data from side listbox
* Fixed dialog to allow for longer post data
* Improved speed of formatting post data
* Added Update checker.
* Fixed versions throughout readme and script to be consistant

October 11, 2010, version 2.1.1 - Added Features/Bug Fixes
* Rearranged dialog
* Added Byte counter
* Fixed minor spelling and grammatical mistakes in both script and readme
* Edited README.htm
* Unpiped Code
* Added script header
* Fixed Post Expiration not saving
* Fixed Syntax highlighting not saving
* Fixed byte counter not counting first line

October 10, 2010, version 2.1.0 - Overhauled
* Rewrote entire script.
* Changed script from .mrc to .ini
* Stored syntax names under "syntax" header in mPasteBin.ini
* Rearranged dialog
* Added -t switch
* Added function to post from file
* Added function for "quiet" posting
* Added unload event to cleanup unneed variables
* Added support for copy specific links to clipboard
* Edited "About" input box
* Changed switches for clipboard and window buffer
* Improved command line support
* Converted readme.txt to readme.htm
* Removed "features" from readme